package com.amarsoft.apot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface WorkflowCodeSeqDao {

    /**
     * 修改seq表起始编号和下一流水号
     * @param id
     * @param sequenceId
     * @return boolean
     */
    boolean updateMarkSeqSequenceById(@Param("id")long id, @Param("sequenceId")long sequenceId);

    /**
     * 根据主键Id查询
     *
     * @param id  ID
     * @return MarkSeqEntity
     */
    Integer getMarkSeqById(@Param("id") long id);


}